﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using TR.AppService.AppService.rbac_QXGL;
using TR.Domain.Entity.rbac_QXGL;

namespace TR.WebApi.Controllers.rbac_QXGL
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class qxController : ControllerBase
    {
        private readonly IqxAppService qx;

        public qxController(IqxAppService qx)
        {
            this.qx = qx;
        }

        //查询侧边栏信息
        [HttpGet]
        public async Task<List<CeBianlan>> CeBianlanSelectAsync(string jid)
        {
            return await qx.CeBianLanSelectAsync(jid);
        }
    }
}
